import 'package:self32/generated/json/base/json_convert_content.dart';
import 'package:self32/entity/nt_face_entity.dart';

NtFaceEntity $NtFaceEntityFromJson(Map<String, dynamic> json) {
	final NtFaceEntity ntFaceEntity = NtFaceEntity();
	final double? score = jsonConvert.convert<double>(json['score']);
	if (score != null) {
		ntFaceEntity.score = score;
	}
	final String? groupId = jsonConvert.convert<String>(json['group_id']);
	if (groupId != null) {
		ntFaceEntity.groupId = groupId;
	}
	final String? userId = jsonConvert.convert<String>(json['user_id']);
	if (userId != null) {
		ntFaceEntity.userId = userId;
	}
	return ntFaceEntity;
}

Map<String, dynamic> $NtFaceEntityToJson(NtFaceEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['score'] = entity.score;
	data['group_id'] = entity.groupId;
	data['user_id'] = entity.userId;
	return data;
}